public class Laptop implements IDevice{
    private String model;
    private Boolean ison;

    public Laptop(String model, Boolean ison) {
        this.model = model;
        this.ison = ison;
    }

    @Override
    public void powerOn() {
        System.out.println(this.model + "正在打开");
    }

    @Override
    public void powerOff() {
        System.out.println(this.model + "正在关闭");
    }
}
